package cn.pet.service.manage.mapper;

import cn.pet.service.manage.entity.PetGoods;
import cn.pet.service.manage.entity.dto.GoodsDTO;
import cn.pet.service.manage.entity.vo.GoodTypeList;
import cn.pet.service.manage.entity.vo.GoodsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 商品信息表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-02-11
 */
public interface PetGoodsMapper extends BaseMapper<PetGoods> {

    GoodsVO queryById(Integer id);

    List<GoodsVO> listByLimit(GoodsDTO goodsDTO);

    List<GoodTypeList> typeAndGoods();

}
